package com.lty.practice.service;

import com.github.pagehelper.PageInfo;
import com.lty.practice.model.Coffee;

import java.util.List;

public interface CoffeeService {
    public void insert(Coffee coffee);
    public void update(Coffee coffee);
    public void delete(Long id);
    public Coffee selectOneById(Long id);
    public List<Coffee> selectList(int pageNum, int pageSize);
    public PageInfo selectPage(int pageNum, int pageSize);
    public void reloadCoffee();
    public PageInfo selectPage(Long[] ids, int pageNum, int pageSize);
    public List<Coffee> testAppendSql(String sql);
}
